<template>
  <el-scrollbar>
    <el-tabs strench type="border-card">
      <el-tab-pane label="基本属性" name="0">
        <NodeTaskBaseAttr
          v-model="_value"
          :defFlow="props.defFlow"
          :taskIndex="props.taskIndex"
        />
      </el-tab-pane>
      <el-tab-pane lazy label="任务事件" name="1">
        <NodeTaskEvent
          v-model="_value"
          :defFlow="props.defFlow"
          :taskIndex="props.taskIndex"
        />
      </el-tab-pane>
    </el-tabs>
  </el-scrollbar>
</template>
<script setup lang="ts" name="NodeTaskAttr">
import NodeTaskBaseAttr from "./NodeTaskBaseAttr.vue";
import NodeTaskEvent from "./NodeTaskEvent.vue";

const props = defineProps({
  taskIndex: Number,
  defFlow: Object
});
const _value: any = defineModel();
</script>
